/* Copyright 2013 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

html,
body,
#container {
  font-family: Arial;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

tabbox {
  padding-top: 10px;
}

tab {
  -webkit-user-select: none;
}

body tabpanels {
  box-shadow: none;
}

tabpanel {
  padding: 10px;
}

table {
  -webkit-font-smoothing: antialiased;
  display: block;
  font-family: sans-serif;
  font-size: 115%;
  overflow: auto;
  width: auto;
}
th {
  background-color: rgb(74, 169, 228);
  color: white;
  font-weight: normal;
  min-width: 230px;
  padding: 2px;
  text-align: center;
}
td {
  background-color: rgb(238, 238, 238);
  color: rgb(111, 111, 111);
  min-width: 230px;
  padding: 2px;
  word-wrap: break-word;
}

h1,
h2,
h3 {
  color: rgb(50,50,50);
}

#container {
  align-content: stretch;
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

#container > * {
  margin: 0;
  padding: 0;
  padding-inline-start: 25px;
}

#list-wrapper {
  align-content: stretch;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#player-list-wrapper,
#audio-component-list-wrapper {
  align-self: stretch;
  flex-grow: 1;
  min-width: 200px;
  overflow: auto;
}

#player-list-wrapper ul,
#player-list-wrapper li,
#audio-component-list-wrapper ul,
#audio-component-list-wrapper li {
  list-style-type: none;
  padding: 0;
}
#list-wrapper button {
  padding: 0;
}

.property-wrapper,
#log-wrapper {
  align-self: stretch;
  display: block;
  flex-grow: 0.25;
  margin-bottom: 10px;
  overflow: auto;
}

#video-capture-capabilities-wrapper {
  align-self: stretch;
  flex-grow: 0.5;
  overflow: auto;
}

#log-wrapper > thead {
  position: fixed;
}

#graphs li {
  list-style-type: none;
}

#clipboard-dialog {
  bottom: 0;
  padding-top: 0;
  top: 0;
}

::backdrop {
  background-color: #000;
  opacity: 0.5;
}

.timestamp {
  min-width: 115px;
}

#video-capture-capabilities-table {
  margin-bottom: 30px;
}

#video-capture-capabilities-table th,
#video-capture-capabilities-table td {
  min-width: 120px;
}

#video-capture-capabilities-table td {
  padding: 5px;
}

#video-capture-capabilities-table tr td {
  font-size: 13px;
  text-align: center;
}

#video-capture-capabilities-table .video-capture-formats-table th,
#video-capture-capabilities-table .video-capture-formats-table td {
  min-width: 80px;
  text-align: end;
}

#video-capture-capabilities-table .video-capture-formats-table th {
  background: none;
  color: #666;
  font-size: 13px;
  font-weight: bold;
}

#video-capture-capabilities-table .video-capture-formats-table td {
  padding: 2px;
}

.show-none-if-empty:empty::after {
  color: rgba(0, 0, 0, .5);
  content: 'none';
}

label.audio-focus-session,
label.cdm,
label.selectable-button {
  border: solid 1px #999;
  border-radius: 3px;
  display: block;
  line-height: 1.4;
  margin: 4px 0;
  padding: 6px;
  word-break: break-all;
}

label.selectable-button {
  background: rgb(187, 221, 255);
  cursor: pointer;
  user-select: none;
}

input.selectable-button {
  display: none;
}

input.selectable-button:checked + label.selectable-button {
  background-color: rgb(33, 150, 243);
  border-color: #666;
  color: #FFF;
}

input.selectable-button:hover + label.selectable-button {
  border-color: #666;
}

label.audio-focus-session,
label.cdm,
label.destructed-player {
  background-color: #EEE;
}

.player-name {
  font-weight: bold;
}

.player-frame {
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.no-players-selected #players .property-wrapper,
.no-players-selected #players #log-wrapper {
  display: none;
}

.no-components-selected #audio .property-wrapper {
  display: none;
}

#audio-focus-session-list {
  list-style: none;
}

#cdm-list {
  list-style: none;
}
